package com.liu.service.intf;

import com.liu.entity.Complaint;
import com.liu.vo.PageBean;
import com.liu.vo.R;

import javax.servlet.http.HttpSession;

public interface ComplaintService {

    //新增
    R save(Complaint complaint);

    //查询
    PageBean queryPage(int page, int limit);
    //删除
    R del(int id);
    //修改
    R update(Complaint complaint);
    //查询 条件
    PageBean queryPageWhere(String info, int page, int limit);
    //批量删除
    R delBatch(int[] ids);

    R login(Complaint notice, HttpSession session);
}
